package cn.com.spic.demo.po;

import com.yonyou.iuap.baseservice.entity.MainBusinessObjectCode;
import com.yonyou.iuap.ucf.dao.BasePO;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * @ProjectName: demo-contract-provider
 * @Package: cn.com.spic.demo.po
 * @ClassName: BenchMarkPO
 * @Date: 2021/1/29 11:43
 * @Author: 铁板烤翅
 */
@Table(name = "benchmark_object")
public class BenchMarkPO extends BasePO implements MainBusinessObjectCode {
    private static final long serialVersionUID = 6313157352087052452L;

    @Column(name = "id")
    private String id;

    @Column(name = "benchmark_object_name")
    private String benchMarkName;

    @Column(name = "def")
    private String def;

    @Column(name = "def1")
    private String def1;

    @Column(name = "def2")
    private String def2;

    @Column(name = "def3")
    private String def3;

    @Column(name = "def4")
    private String def4;


    public String getDef() {
        return def;
    }

    public void setDef(String def) {
        this.def = def;
    }

    public String getDef1() {
        return def1;
    }

    public void setDef1(String def1) {
        this.def1 = def1;
    }

    public String getDef2() {
        return def2;
    }

    public void setDef2(String def2) {
        this.def2 = def2;
    }

    public String getDef3() {
        return def3;
    }

    public void setDef3(String def3) {
        this.def3 = def3;
    }

    public String getDef4() {
        return def4;
    }

    public void setDef4(String def4) {
        this.def4 = def4;
    }

    @Override
    public String getId() {
        return id;
    }

    @Override
    public void setId(String id) {
        this.id = id;
    }

    public String getBenchMarkName() {
        return benchMarkName;
    }

    public void setBenchMarkName(String benchMarkName) {
        this.benchMarkName = benchMarkName;
    }

    @Override
    public String getMainBoCode() {
        return this.getClass().getSimpleName().replace("PO", "");
    }
}
